//
//  ZDCell.m
//  特种车调度
//
//  Created by 陈宇 on 15/8/20.
//
//

#import "ZDCell.h"

@interface ZDCell ()

@property (weak, nonatomic) IBOutlet UIButton *zdButton;

@end

@implementation ZDCell

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    self.zdButton.selected = selected;
}

- (void)setStation:(ZDStation *)station
{
    _station = station;
    [self.zdButton setTitle:_station.name forState:UIControlStateNormal];
}

@end
